<!--左边圈子-->
<div class="d-kuan-240-bianhua d-piaofu">
	<div class="d-kuan d-beijing-baise"  id="b2">
		<div class="d-zuoyou-10 d-kuan d-quxian-0">
			{if dr_is_app('wenda')}
			<div class="d-hanggao-30"></div>
			<a href="/index.php?s=wenda" class="">
				<div style="height: 15px;"></div>
				<div class="{if $_GET['s'] == 'wenda' }d-beijing-hei-f8 {else}d-jingguo-huise{/if} d-kuan d-buhuanhang  d-yuanjiao-10 d-neikuang-10">
					<div class="d-kuan-40">
						<img class="d-yuanjiao-20" src="static/wenda/images/wendalogo.png" height="40px"/>
					</div>
					<div class="d-zuo-10 d-wenzi-12 d-shang-2 d-chaochu-biaoti-200">
						<div class="d-jiacu d-yincang-biaoti-bianhua ">
							
							问答
						</div>
						<div class=" d-zitiyanse-hui-96 d-buhuanhang">
							<span class="">
								帖子
								{count action=table table=1_wenda cid=$t.id return=tiezi}
								{$tiezi_count}
							</span>
							<span class="d-zuo-20 " >
								<div {if $member} id="module_joins_zuobian_1" {/if}>
								用户: {count action=table table=1_wenda_joins return=joins}
										    {$joins_count}
								</div>
							</span>
						</div>
					</div>
				</div>
				<div class="d-clear"></div>
			</a>
			{/if}
			{category module=quan show=1 pid=0}
			<div class=" d-yuanjiao-20 d-kuan d-wenzi-12 d-zitiyanse-hui d-zuo-10">
				<div class="d-hanggao-30">{$t.name}</div>
			</div>
			    
				{module module=quan zt=1 catid=$t.id}
					<a href="{$t.url}" class="">
						<div class="{if $t.id == $_GET['id'] }d-beijing-hei-f8 {else}d-jingguo-huise{/if} d-kuan d-buhuanhang  d-yuanjiao-10 d-neikuang-10">
							<div class="d-kuan-40">
								<img class="d-yuanjiao-20" src="{dr_thumb($t.thumb)}" height="40px"/>
							</div>
							<div class="d-zuo-10 d-wenzi-12 d-shang-2 d-chaochu-biaoti-200">
								<div class="d-jiacu d-yincang-biaoti-bianhua ">
									
									{dr_strcut($t.title, 18)}
								</div>
								<div class=" d-zitiyanse-hui-96">
									<span class="">
										帖子
										{count action=table table=1_quan_form_son cid=$t.id return=tiezi}
										{$tiezi_count}
									</span>
									<span class="d-zuo-20">
										用户: {$t.joins}
									</span>
								</div>
							</div>
						</div>
						<div class="d-clear"></div>
					</a>
				{/module}
			{/category}
		</div>
		<div class="d-clear"></div>
	</div>
	
</div>
<script type="text/javascript">
	var contentsHeight = document.body.clientHeight;
	var h = contentsHeight;
	document.getElementById("b2").style.height = h + 'px';
</script>
